﻿
@Code
    PageData("Title") = ConfigurationManager.AppSettings("SiteTitle").ToString
    Layout = "~/_SiteLayout.vbhtml"
    
    Dim _CatRoot() As String = ConfigurationManager.AppSettings("CatRoot").ToString.Split(",")
    Dim _bgcolor() As String = ConfigurationManager.AppSettings("bgcolor").ToString.Split(",")

    Dim SiteMapTable = SiteMapBLL.GetListForSiteMap("calibrevb", "en")
    Dim LabelSection As String = ""

    Dim _cat = UrlData(0).ToString()

    _cat = _cat.ToLower
    LabelSection = "Calibre Menu"
  
End Code

<div class="container">
    <div class="row">
        <div class="metro span12">
            <h2>@LabelSection</h2>

            @If _cat = "" Then
                @CalibreHelpers.FormatHome(SiteMapTable, _CatRoot, _bgcolor)
            End If
        </div>
    </div>
</div>
